namespace drg_group.fuzhou_2022{
    public class YR1
    {
        public static String group(MedicalRecord record)
        {
            String[] adrg_zd={"B20.000x001","B20.001","B20.002","B20.003","B20.004","B20.005","B20.006","B20.100x001","B20.200x001","B20.300x001","B20.301","B20.400x001","B20.500x001","B20.600x001","B20.700x001","B20.801","B20.901","B21.000x001","B21.100x001","B21.200x001","B21.300","B21.700","B21.800","B21.900","B22.000x001","B22.000x003","B22.000x004","B22.000x005","B22.001+F02.4*","B22.100","B22.200","B22.700","B22.701","B23.000","B23.100","B23.100x001","B23.100x002","B23.200","B23.201","B23.800","B23.800x001","B23.800x002","B23.801","B24.x01","I33.000x018","O98.700"};
            String[] adrg_zd1={};
            String[] adrg_ss={};
            String[] adrg_ss1={};
            
            if (true && adrg_zd.Contains(record.zdList[0])){
                Base.groupMessages.putMessage(record.Index,"符合YR1入组条件，匹配规则：主诊断匹配");
                    
                if (MDCY_DRG.YR11_group(record))
                {
                    return "YR11";
                }
    
                if (MDCY_DRG.YR13_group(record))
                {
                    return "YR13";
                }
    
                if (MDCY_DRG.YR15_group(record))
                {
                    return "YR15";
                }

                return "YR1";
            }else{
                return "";
            }
        }
    }
}